package ${PACKAGE_NAME}.frgm;
import ${ANDROID_APP_ID}.R;
import android.view.View;
import android.view.ViewGroup;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import ${ANDROID_APP_ID}.base.frgm.BaseFragment;
import ${PACKAGE_NAME}.presenter.${KEY_WORD}Presenter;
import com.woai.common.util.IntentUtils;
import com.woai.common.util.ToastUtil;
import com.woai.vichat.base.model.BaseModel;

/**
 * ${CLASS_NAME}
 * Created on ${DATA}.
 * @author WuGefei
 */
public class ${CLASS_NAME} extends BaseFragment<${CLASS_NAME}, ${KEY_WORD}Presenter> {


    @Override
    public void onResume() {
        super.onResume();
        request();
    }

    @Override
    public int getLayoutId() {
        return R.layout.${XML_NAME};
    }
	
	    @Override
    protected void init(View rootView) {
        ButterKnife.bind(this, rootView);
    }

        @Override
    protected ${KEY_WORD}Presenter createPresenter() {
        return new ${KEY_WORD}Presenter();
    }

    private void request() {
        presenter.request(getActivity());
    }

    public void bindData(BaseModel model) {

    }
}